
public class L02 {

	public static void main(String[] args) {
		int n1=710;
		int n2=165;
		int n3=690;
		
	int c=n1>n2?n1:n2;
	int d=c>n3?c:n3;
	System.out.println(d);
	 

	}

}
